package com.bw.zyk.zhanggm.product.openfein;

import com.bw.zyk.zhanggm.product.vo.StockVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "zhanggm-zyk-stock")
public interface StockFeignClient {

    @GetMapping("/stock/getListByIds")
    public List<StockVo> getListByIds(@RequestParam("skuIdList") List<Long> skuIdList);

}
